package com.jinke.util;


import java.awt.*;

/**
 * 定义常量(游戏中的常亮都在此类定义,方便后期游戏的管理)
 */
public class Constant {
    /**
     * 游戏窗口相关
     */
    public static final String GAME_TITLE = "坦克大战";

    public static final int GAME_WIDTH = 800;
    public static final int GAME_HEIGHT = 600;

    /**
     * 游戏菜单相关
     */
    // 状态名称
    public static final int STATE_MENU = 0;
    public static final int STATE_RUN = 1;
    public static final int STATE_HELP = 2;
    public static final int STATE_ABOUT = 3;
    public static final int STATE_OVER = 4;
    // 菜单项
    public static final String[] MENU_ITEMS = {
            "开始游戏",
            "继续游戏",
            "游戏帮助",
            "关于游戏",
            "退出游戏"
    };

    public static final Font MENU_FONT = new Font("宋体", Font.BOLD, 24);
    public static final Font MIN_FONT = new Font("宋体", Font.PLAIN, 12);


    public static final int REPAINT_INTERVAL = 16;// 刷新间隔(略高于60FPS)

    public static final int MAX_ENEMY_COUNT = 5;
    public static final int ENEMY_SPAWN_INTERVAL = 5000;

    public static final String[] NAMES = {
            "孙金科","万国杰","吴奕霏","路源远","何欣怡","阿桃","刘智元","刘冠男","王琪涵"
    };
    public static final String[] MODIFY = {
            "可爱","傻傻","萌萌","羞羞","笨笨","呆呆","美丽","聪明","伶俐","狡猾",
            "胖乎乎","粉嫩嫩","白胖胖","漂亮","可爱","聪明","懂事","乖巧","淘气",
            "淘气","顽劣","调皮","顽皮","天真","可爱","无邪","单纯","纯洁","无暇",
            "纯真","稚气","温润","好奇"
    };

}
